/*
 * @Author: liuxiang
 * @Date: 2022-01-20 15:45:18
 * @LastEditors: liuxiang
 * @LastEditTime: 2022-01-20 15:54:04
 * @Description: file content
 */
 
import { ipcRenderer } from "electron";
/**
 * 创建窗口
 */
 export function windowCreate(args) {
    console.log(args)
    ipcRenderer.send('window-new', args)
}
 
/**
 * 关闭窗口
 */
export function windowClose(id) {
    console.log('窗口id：' + id)
    ipcRenderer.send('window-closed', id)
}
